from datetime import datetime, timedelta
from pathlib import Path
from DrissionPage._units.actions import Actions
from tools.page import page_get
from DrissionPage import ChromiumPage, ChromiumOptions

from tools.获取日期 import get_date


def a():
    page = page_get()
    page('text=导出任务创建成功!任务完成会自动下载文件，如需查看进度或者多次下载，请前往右上角导出记录查看！').next().child(1).click(by_js=True)

a()